package cn.gson.fengboot.model.mapper;

import cn.gson.fengboot.model.pojos.TfyrelationwarnFrom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TfyrelationwarnMapper {
    //根据客户id查询联系提醒信息
    public List<TfyrelationwarnFrom> cxidrelationwarn(@Param("clientId") Integer clientId);

    //根据客户id查询已完成联系提醒信息
    public List<TfyrelationwarnFrom> wcidrelationwarn(@Param("clientId") Integer clientId);

    //根据客户id查询已延期联系提醒信息
    public List<TfyrelationwarnFrom> yqidrelationwarn(@Param("clientId") Integer clientId);

    //根据联系人id查询联系提醒信息
    public List<TfyrelationwarnFrom> lxridrelationwarn(@Param("linkmanId") Integer linkmanId);

    //根据联系人id查询已完成联系提醒信息
    public List<TfyrelationwarnFrom> lxrwcidrelationwarn(@Param("linkmanId") Integer linkmanId);

    //根据联系人id查询已延期联系提醒信息
    public List<TfyrelationwarnFrom> lxryqidrelationwarn(@Param("linkmanId") Integer linkmanId);

    //根据员工id查询今日联系提醒信息
    public List<TfyrelationwarnFrom> jridrelationwarn(@Param("empId") Integer empId);

    //根据员工id查询明日联系提醒信息
    public List<TfyrelationwarnFrom> mridrelationwarn(@Param("empId") Integer empId);

    //根据员工id查询即将联系提醒信息
    public List<TfyrelationwarnFrom> jjidrelationwarn(@Param("empId") Integer empId);

    //根据员工id查询已延期联系提醒信息
    public List<TfyrelationwarnFrom> yyqidrelationwarn(@Param("empId") Integer empId);

    //<!-客户合并查询联系提醒-->
    List<TfyrelationwarnFrom> khhbrelationwarn(@Param("id1") Integer id1, @Param("id2") Integer id2);

    //根据联系人id查询联系提醒
    List<TfyrelationwarnFrom> lxrlxtx(@Param("linkmanId") Integer linkmanId);
}
